html {
	width: 100%;
	height: 100%;
}

body {
	width: 100%;
	height: 100%;
	margin: 0px;
	overflow: hidden;
}

#viewport {
	width: 100%;
	height: 100%;
}

button {
	background-color: purple;
	color: white;
	border-radius: 5px;
	padding: 5px 10px;
	border: none;
	cursor: pointer;
}

button:hover {
	background-color: #985598;
}

#show-all {
	position: absolute;
	right: 20px;
	top: 20px;
}

#force-layout {
	position: absolute;
	right: 20px;
	top: 60px;
}

#show-all {
	position: absolute;
	right: 20px;
	top: 20px;
}

#save {
	position: absolute;
	right: 20px;
	top: 100px;
}

/*yyh right menu*/
.rightLegend {
	position: absolute;
	right: 20px;
	top: 10px;
    z-index: 9999;
}

.searchFun {
	background: url("../images/userRelation/searchImg.png") no-repeat;
	width: 52px;
	height: 52px;
	margin-left: 7px;
	cursor: pointer;
}

.xialaFun {
	background: url("../images/userRelation/xialaImg.png") no-repeat;
	width: 52px;
	height: 52px;
	margin-top: 20px;
	margin-left: 7px;
	cursor: pointer;
}

.xialaline {
	border-left: 1px solid #bfcddb;
	margin-left: 32px;
	float: left;
	height: 240px;
	margin-top: -7px;
	z-index: 9998;
}

.xialamenu {
	z-index: 9999;
	position: absolute;
	top: 120px;
}

.xialamenu ul li {
	width: 66px;
	height: 43px;
	margin-top: 15px;
	background: #edf3f9;
	border: 1px solid #bac8d5;
	text-align: center;
	cursor: pointer;
}

.xialamenu ul li img {
	margin-top: 5px;
}

.xialamenu ul li p {
	margin-top: 3px;
}

.markInfo {
	display: none;
	width: 200px;
	position: absolute;
	left: 0px;
	top: 0px;
}

.markInfoLeft {
	background: url("../images/calendar/sj.png") no-repeat;
	width: 21px;
	height: 26px;
	position: absolute;
	top: 15px;
	z-index: 9997;
}

.markInfoRight {
	width: 100%;
	background: #fff;
	border: 1px solid #dedede;
	position: absolute;
	left: 20px;
	z-index: 9996;
	min-height: 90px;
}

.markInfo textarea {
	border: 0px;
	outline: none;
	min-height: 50px;
	resize: none;
	width: 98%;
	overflow-y: hidden;
	height: 50px;
}

.markInfoRight_bom {
	float: right;
	margin-right: 6px;
	margin-bottom: 5px;
	margin-top: 4px;
}

.closeBg {
	background: url("../images/userRelation/tupuClose.png");
	width: 56px;
	height: 23px;
	line-height: 23px;
	color: #fff;
	text-align: center;
	cursor: pointer;
}

.relationLegend {
	position: absolute;
	bottom: 10px;
	right: 10px;
	width: 112px;
	height: 170px;
	border: 1px solid #ffffff;
	background: rgba(255,255,255,0.96);
	box-shadow: 0 0 5px rgba(138,138,136,0.24);
}

.legendHeader{
	height: 35px;
	line-height: 35px;
	color: #21649c;
	font-size: 14px;
	font-family: "宋体";
	margin-left: 10px;
}

.legendMain li{
	height: 26px;
	line-height: 26px;
	padding-left: 10px;
}

.commLeg{
	width: 16px;
	height: 6px;
	margin-top: 10px;
}

.oneColor{
	background-color: #e86a51;
}

.twoColor{
	background-color: #eab35d;
}

.threeColor{
	background-color: #9bb8e7;
}

.fourColor{
	background-color: #e8b088;
}

.markLeg{
	background: url("../images/userRelation/markIcon.png");
	width: 14px;
	height: 13px;
	margin-top: 6.5px;
}

.legendMain li span{
	margin-left: 5px;
	font-size: 14px;
	font-family: "宋体";
}

.personInfo_top{
	width: 100%;
	height: 100px;
}

.personInfo_mid{
	border-bottom: 1px solid #aaa;
	width: 100%;
	margin-top: 10px;
	margin-bottom: 10px;
}

.personInfo_bom ul li{
	text-align: left;
	font-size: 14px;
	font-family: "宋体";	
	height: 30px;
	line-height: 30px;
}

.bkg-person-name{
	font-size: 24px;
	font-family: "微软雅黑";	
	color: #0b47ab;
}

.bkg-person-name2{
	font-size: 14px;
	font-family: "宋体";	
}

